<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .button {
            width: 600px;
            height: 50px;
            background-color: skyblue;
            text-align: center;
            /* 内容居中垂直 */
            line-height: 50px;
            font-size: 0;
        }

        .button span {
            /* span可以设置宽高，并且可以一行显示 */
            display: inline-block;
            width: 10px;
            height: 10px;
            /* 按钮跟着内容对齐 */
            vertical-align: middle;
            border: 1px solid #000;
            margin: 0 3px;
            border-radius: 50%;
            background-color: #fff;
            cursor: pointer;
        }
        .button span:hover {
            background-color: orange;
        }
    </style>
</head>

<body>
    <div class="button">
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
    </div>
</body>

</html>
